\hypertarget{class_mathematica_translator_1_1_m_t_statement}{
\section{\-Mathematica\-Translator\-:\-:\-M\-T\-Statement \-Class \-Reference}
\label{class_mathematica_translator_1_1_m_t_statement}\index{\-Mathematica\-Translator\-::\-M\-T\-Statement@{\-Mathematica\-Translator\-::\-M\-T\-Statement}}
}


{\ttfamily \#include $<$\-M\-T\-Statement.\-hpp$>$}

\-Inheritance diagram for \-Mathematica\-Translator\-:\-:\-M\-T\-Statement\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=8.536586cm]{class_mathematica_translator_1_1_m_t_statement}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_statement_a193c732219b8c910ee8613c6fe223596}{generate\-Code} (\hyperlink{class_mathematica_translator_1_1_code_gen_context}{\-Code\-Gen\-Context} \&context)
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Statement representation. \-Wrapper for expressions to fit the block 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_mathematica_translator_1_1_m_t_statement_a193c732219b8c910ee8613c6fe223596}{
\index{\-Mathematica\-Translator\-::\-M\-T\-Statement@{\-Mathematica\-Translator\-::\-M\-T\-Statement}!generate\-Code@{generate\-Code}}
\index{generate\-Code@{generate\-Code}!MathematicaTranslator::MTStatement@{\-Mathematica\-Translator\-::\-M\-T\-Statement}}
\subsubsection[{generate\-Code}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string $\ast$ \-Mathematica\-Translator\-::\-M\-T\-Statement\-::generate\-Code (
\begin{DoxyParamCaption}
\item[{{\bf \-Code\-Gen\-Context} \&}]{context}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_m_t_statement_a193c732219b8c910ee8613c6fe223596}
\-Main method to print the result of translating into \-C++ from \-Mathematica 
\begin{DoxyParams}{\-Parameters}
{\em context} & current variable context \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
allocated string with translation 
\end{DoxyReturn}


\-Reimplemented from \hyperlink{class_mathematica_translator_1_1_m_t_node_a9f0dd733cc13b360641b310e8b8be9a9}{\-Mathematica\-Translator\-::\-M\-T\-Node}.



\-Reimplemented in \hyperlink{class_mathematica_translator_1_1_m_t_variable_definition_a508572601374b8d2d6aa440c78aaf1eb}{\-Mathematica\-Translator\-::\-M\-T\-Variable\-Definition}, \hyperlink{class_mathematica_translator_1_1_m_t_for_statement_ad3ca8a9eb5b945d36707268b27c4d1b9}{\-Mathematica\-Translator\-::\-M\-T\-For\-Statement}, \hyperlink{class_mathematica_translator_1_1_m_t_if_statement_ac0e66950f5dad559401816ec9eb362c2}{\-Mathematica\-Translator\-::\-M\-T\-If\-Statement}, \hyperlink{class_mathematica_translator_1_1_m_t_container_variable_definition_aa940a328c1b54ac8902dc96bd1006abd}{\-Mathematica\-Translator\-::\-M\-T\-Container\-Variable\-Definition}, \hyperlink{class_mathematica_translator_1_1_m_t_while_statement_a275cd031865b56c7c7309dbfebbfbf42}{\-Mathematica\-Translator\-::\-M\-T\-While\-Statement}, \hyperlink{class_mathematica_translator_1_1_m_t_expression_statement_ae20b96f81de7c9269d7539866ee45552}{\-Mathematica\-Translator\-::\-M\-T\-Expression\-Statement}, \hyperlink{class_mathematica_translator_1_1_m_t_variable_declaration_ad72d540f6b5459e37b3e176f5415da56}{\-Mathematica\-Translator\-::\-M\-T\-Variable\-Declaration}, and \hyperlink{class_mathematica_translator_1_1_m_t_function_definition_a217a805e8c3616f19efb7eeb2d5d175f}{\-Mathematica\-Translator\-::\-M\-T\-Function\-Definition}.



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-M\-T\-Statement.\-hpp\item 
\-M\-T\-Statement.\-cpp\end{DoxyCompactItemize}
